export const menus = [
  {
    path: '/dashboard',
    name: 'dashboard',
    title: '首页',
    perm: ['none'],
    icon: 'HomeFilled',
  },
  {
    path: '/user',
    name: 'user',
    title: '用户管理',
    perm: ['none'],
    icon: 'Setting',
    children: [
      {
        path: '/user/profile',
        name: 'profile',
        title: '个人中心',
        perm: ['none'],
        icon: 'Setting',
      },
      {
        path: '/user/list',
        name: 'user-list',
        title: '用户列表',
        perm: ['sys','admin'],
        icon: 'CreditCard',
      }
    ],
  },
  {
    path: '/member',
    name: 'member',
    title: '会员管理',
    icon: 'Setting',
    perm: ['sys'],
    children: [
      {
        path: '/member/list',
        name: 'member-list',
        title: '会员列表',
        perm: ['sys'],
        icon: 'Setting',
      }
    ],
  },
  {
    path: '/coach',
    name: 'coach',
    title: '教练管理',
    perm: ['sys','coach'],
    icon: 'DocumentCopy',
    children: [
      {
        path: '/coach/list',
        name: 'coach-list',
        title: '教练列表',
        perm: ['sys'],
        icon: 'User',
      },
      {
        path: '/coach/course',
        name: 'coach-course',
        title: '我的课程',
        perm: ['coach'],
        icon: 'User',
      },
      {
        path: '/coach/info',
        name: 'coach-info',
        title: '我的资料',
        perm: ['coach'],
        icon: 'User',
      },
      {
        path: '/coach/comment',
        name: 'coach-comment',
        title: '教练评价',
        perm: ['sys'],
        icon: 'User',
      }
    ],
  },
  {
    path: '/course',
    name: 'course',
    title: '课程管理',
    perm: ['sys'],
    icon: 'Goods',
    children: [
      {
        path: '/course/category',
        name: 'course-category',
        title: '课程分类',
        perm: ['sys'],
        icon: 'WalletFilled',
      },
      {
        path: '/course/list',
        name: 'course-list',
        perm: ['sys'],
        title: '课程列表',
        icon: 'Iphone',
      },
     /* {
        path: '/course/reserve',
        name: 'course-reserve',
        title: '课程预约',
        icon: 'Iphone',
      },*/
      {
        path: '/course/schedule-list',
        name: 'schedule-list',
        title: '安排列表',
        perm: ['sys'],
        hidden: true,
        icon: 'Iphone',
      },
      {
        path: '/course/comment',
        name: 'course-comment',
        title: '课程评价',
        perm: ['sys'],
        icon: 'Iphone',
      }
    ],
  },
  {
    path: '/resource',
    name: 'resource',
    title: '资源管理',
    icon: 'Goods',
    perm: ['sys'],
    children: [
      {
        path: '/resource/equipment',
        name: 'resource-equipment',
        title: '设备资源',
        perm: ['sys'],
        icon: 'WalletFilled',
      },
      {
        path: '/resource/venue',
        name: 'resource-venue',
        perm: ['sys'],
        title: '场地资源',
        icon: 'Iphone',
      },
    ],
  },
  {
    path: '/report',
    name: 'report',
    title: '报表统计',
    icon: 'Goods',
    perm: ['sys'],
    children: [
      {
        path: '/report/fees',
        name: 'fees',
        perm: ['sys'],
        title: '费用报表',
        icon: 'WalletFilled',
      },
      {
        path: '/report/costs',
        name: 'costs',
        perm: ['sys'],
        title: '成本报表',
        icon: 'Iphone',
      },
    ],
  },
  {
    path: '/sys',
    name: 'sys',
    title: '系统管理',
    perm: ['admin'],
    icon: 'Setting',
    children: [
      {
        path: '/sys/log-analysis',
        name: 'analysis',
        title: '日志分析',
        perm: ['admin'],
        icon: 'Setting',
      },
      {
        path: '/sys/notice',
        name: 'notice',
        title: '通知通告',
        perm: ['admin'],
        icon: 'CreditCard',
      },
      {
        path: '/sys/schedule-job',
        name: 'job',
        title: '任务调度',
        perm: ['admin'],
        icon: 'CreditCard',
      },
      {
        path: '/sys/news',
        name: 'job',
        title: '站内新闻',
        perm: ['admin'],
        icon: 'CreditCard',
      }
    ],
  }
]
